/*
 * $RCSfile: Index.java,v $
 * $Revision: 1.2 $
 *
 * Comments:
 *
 * (C) Copyright Biuro-Technika 2007.  All rights reserved.
 * THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF Biuro-Technika
 * The copyright notice above does not evidence any
 * actual or intended publication of such source code.
 *
 * $Author: michal $          $Locker:  $
 * $Date: 2010/04/13 09:36:53 $
 * $Log: Index.java,v $
 * Revision 1.2  2010/04/13 09:36:53  michal
 * parametryzacja kodu
 *
 * Revision 1.1  2007/08/24 09:15:05  dominik
 * Reprezentacja Indeksow bazy danych
 *
 */

package parasoft.centrap.migration;

import java.util.List;

public class Index {
	private String schema;
	private String table;
	private List<String> columns;
	private boolean unique;
	private String indexName;
	
	public Index(String schema, String table, List<String> columns, boolean unique, String indexName) {
		this.schema = schema;
		this.table = table;
		this.columns = columns;
		this.unique = unique;
		this.indexName = indexName;
	}

	public String getSchema() {
		return schema;
	}

	public void setSchema(String schema) {
		this.schema = schema;
	}

	public String getTable() {
		return table;
	}

	public void setTable(String table) {
		this.table = table;
	}

	public List<String> getColumns() {
		return columns;
	}

	public void setColumns(List<String> columns) {
		this.columns = columns;
	}

	public boolean isUnique() {
		return unique;
	}

	public void setUnique(boolean unique) {
		this.unique = unique;
	}

	public String getIndexName() {
		return indexName;
	}

	public void setIndexName(String indexName) {
		this.indexName = indexName;
	}

}
